<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>授权</title>
<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	$(document)
	.ready(
		function() {
			$
					.getJSON(
							"showUser.action",
							function(result) {
								var str = "";
								for ( var i = 0; i < result.length; i++) {
									str += '<tr><td>'
											+ result[i].eid
											+ '</td><td>'
											+ result[i].ename
											+ '</td><td>'
											+ result[i].departments
											+ '</td><td>'
											+ result[i].duties
											+ '</td><td><a href="add.jsp?uid='
											+ result[i].uid
											+ '&name='+result[i].ename+'">授权</a></td></tr>';
								}
								$("#tb").html(str);

							});
		});

	
</script>
<link href="../css/table.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<table width="100%">
		<thead>
			<tr>
				<td width="120">No</td>
				<td>姓名</td>
				<td>部门</td>
			  <td>职务</td>
				<td>操作</td>
			</tr>
		</thead>
		<tbody id="tb">



		</tbody>

	</table>